<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">

  </div>
  <script src="../js/vue.js"></script>
  <script src="../js/axios.js"></script>
  <script>
    let data = {
      "strName": "cz",
      "strPSW": 123456,
      "strAuthcode": "",
      "strIP": ""
    };
    axios.post("http://www.ihouse3d.com.cn/service1.asmx/Login", data).then(res => {
      console.log(res);
    }).catch(err => {
      console.log(err);
    });

  </script>
  <script>
    /* const a1 = axios.create({
      baseURL: "http://www.ihouse3d.com.cn",
      // baseURL: "http://123.207.32.32:8000",
      timeout: 5000,
    }); */
    /* a1({
      method: 'post',
      url: "/service1.asmx/Login",
      data: {
        "strName": "cz",
        "strPSW": 123456,
        "strAuthcode": "",
        "strIP": ""
      }
    }).then(ret => {
      ret.data
    }).catch(err => {
      console.log(err);
    }); */
    /* a1({
      methods: "get",
      url: "/home/multidata"
    }).then(result => {
      console.log(result);
    }).catch(err => {
      console.log(err);
    });
    console.log(a1); */

  </script>
  <script>
    /*
    axios.default.baseUrl= "???";
    const queryData = function(){
      let info = await axios.get("???");
      let ret = await axios.get("???"+ info.data);
      return ret;
    }
    queryData().then((ret)=>{
      console.log(ret.data);
    });
    */

  </script>
  <script>
    const vm = new Vue({
      el: "#app",
      data: {

      },
      methods: {

      }
    });

  </script>
</body>

</html>
